package edu.gxmzu.task.service;

import edu.gxmzu.task.models.TaskBoardModel;
import edu.gxmzu.task.models.WorkModel;
import edu.gxmzu.task.params.SearchTaskParam;
import edu.gxmzu.task.params.UpdateAdminWorkParam;
import edu.gxmzu.task.params.UpdateUserWorkParam;

import java.io.IOException;
import java.util.List;

public interface WordService {
    List<WorkModel> getWorkByUserId(Long userId);

    int updateUserWork(UpdateUserWorkParam updateUserWorkParam) throws IOException;

    int updateAdminWork(UpdateAdminWorkParam updateAdminWorkParam) throws IOException;


    TaskBoardModel getAllWorks(String userId);

    List<WorkModel> SearchTask(SearchTaskParam searchTaskParam);
}
